package com.foo.example.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 现金提现、提现审核
 * @author Administrator
 *
 */
@Entity
@Table(name = "cq_bu_withdrawal")
public class Withdrawal {
		@Id
		@Column(name = "id",length = 32)
		@javax.persistence.GeneratedValue(generator = "system-uuid")
		@org.hibernate.annotations.GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
		private String id;
		
		@Column(nullable = false)
		private Long userNo;     //会员编号

		private Date applicationDate;  //申请日期

		@Column(length = 100,nullable = true)
		private String bankInfo;     //银行信息
		
		@Column(length = 100,nullable = true)
		private String branchBankName;//开户银行支行(开户行(支行/分理处))
		
		@Column(length = 100,nullable = true)
		private String province;//收款帐号省份
		
		@Column(length = 100,nullable = true)
		private String city;//收款帐号城市
		
		@Column(nullable = false)
		private Double withdrawalAmount;     //申请金额
		
		@Column(nullable = false)
		private Double shouldWithdrawalAmount;//应收金额
		
		@Column(nullable = false)
		private Double taxAmount;//税金
		
		@Column(nullable = false)
		private Double taxRate;//税率
		
		@Column(length = 100,nullable = true)
		private String auditUser;     //审核人
		
		private Date auditDate;  //审核日期
		
		@Column(length = 10,nullable = true)
		private String auditStatus;//审核状态  0:待审核  1：审核通过  2：审核不通过
		
		@Column(length = 255 ,nullable = true)
		private String remark;//备注

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public Long getUserNo() {
			return userNo;
		}

		public void setUserNo(Long userNo) {
			this.userNo = userNo;
		}

		public Date getApplicationDate() {
			return applicationDate;
		}

		public void setApplicationDate(Date applicationDate) {
			this.applicationDate = applicationDate;
		}

		public String getBankInfo() {
			return bankInfo;
		}

		public void setBankInfo(String bankInfo) {
			this.bankInfo = bankInfo;
		}

		public String getBranchBankName() {
			return branchBankName;
		}

		public void setBranchBankName(String branchBankName) {
			this.branchBankName = branchBankName;
		}

		public String getProvince() {
			return province;
		}

		public void setProvince(String province) {
			this.province = province;
		}

		public String getCity() {
			return city;
		}

		public void setCity(String city) {
			this.city = city;
		}

		public Double getWithdrawalAmount() {
			return withdrawalAmount;
		}

		public void setWithdrawalAmount(Double withdrawalAmount) {
			this.withdrawalAmount = withdrawalAmount;
		}

		public Double getShouldWithdrawalAmount() {
			return shouldWithdrawalAmount;
		}

		public void setShouldWithdrawalAmount(Double shouldWithdrawalAmount) {
			this.shouldWithdrawalAmount = shouldWithdrawalAmount;
		}

		public Double getTaxAmount() {
			return taxAmount;
		}

		public void setTaxAmount(Double taxAmount) {
			this.taxAmount = taxAmount;
		}

		public Double getTaxRate() {
			return taxRate;
		}

		public void setTaxRate(Double taxRate) {
			this.taxRate = taxRate;
		}

		public String getAuditUser() {
			return auditUser;
		}

		public void setAuditUser(String auditUser) {
			this.auditUser = auditUser;
		}

		public Date getAuditDate() {
			return auditDate;
		}

		public void setAuditDate(Date auditDate) {
			this.auditDate = auditDate;
		}

		public String getAuditStatus() {
			return auditStatus;
		}

		public void setAuditStatus(String auditStatus) {
			this.auditStatus = auditStatus;
		}

		public String getRemark() {
			return remark;
		}

		public void setRemark(String remark) {
			this.remark = remark;
		}
}
